package com.ceair.flight.refund.dto.ota;


import com.ceair.muservice.common.dto.BaseReq;

import java.util.List;

public class CalcFeeV2Req extends BaseReq {
	private Long applyType;
	private String reason;
	private String appName;
	private String appContact;
	private List<RefundInfo> refundInfos;
	private String repurchaseTicket;
	private Long passportId;
	private String orderNo;
	/**
	 * 是否是新订单
	 */
	private Boolean isNewOrder;

	public Boolean getIsNewOrder() {
		return isNewOrder;
	}

	public void setIsNewOrder(Boolean isNewOrder) {
		this.isNewOrder = isNewOrder;
	}

	public Long getApplyType() {
		return applyType;
	}

	public void setApplyType(Long applyType) {
		this.applyType = applyType;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getAppContact() {
		return appContact;
	}

	public void setAppContact(String appContact) {
		this.appContact = appContact;
	}

	public List<RefundInfo> getRefundInfos() {
		return refundInfos;
	}

	public void setRefundInfos(List<RefundInfo> refundInfos) {
		this.refundInfos = refundInfos;
	}

	public String getRepurchaseTicket() {
		return repurchaseTicket;
	}

	public void setRepurchaseTicket(String repurchaseTicket) {
		this.repurchaseTicket = repurchaseTicket;
	}

	public Long getPassportId() {
		return passportId;
	}

	public void setPassportId(Long passportId) {
		this.passportId = passportId;
	}

	public String checkParameter() throws Exception {
		if (this.orderNo == null || "".equals(this.orderNo.trim())) {
			return "大订单号不能为空!";
		}
		return null;
	}

}
